.mask {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background-color:rgba(0,0,0,0.3);
    z-index:10;
}

.spin {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
}